package com.boardour.socket.bean;

/**
 * 客户端和服务端交互的参数类
 *
 * @param <T>
 */
public class ParamsData<T> {
    public static final int TYPE_BEAUTY = 0x101; // 美颜
    private int type;
    private T data;

    public ParamsData() {
    }

    public ParamsData(int type) {
        this.type = type;
    }

    public ParamsData(int type, T data) {
        this.type = type;
        this.data = data;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
